package jmu.edu.yjc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jmu.edu.yjc.domain.ResponseResult;
import jmu.edu.yjc.domain.entity.Category;
import jmu.edu.yjc.domain.vo.category.CategoryVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


/**
 * 分类表(Category)表服务接口
 *
 * @author makejava
 * @since 2023-02-05 15:53:34
 */
public interface CategoryService extends IService<Category> {

    List<CategoryVo> listAllCategory();

    void export(HttpServletResponse response);

    ResponseResult listCategory(Integer pageNum, Integer pageSize, String name, String status);

    Category getAnnouncementCId();

    Category getByCategoryName(String categoryName);

    ResponseResult getCategoryList();
}

